package model.entities
{
/**
 * @author daichangxin
 */
public class UserEntity
{
	private var _userName:String;
	private var _level:uint;
	private var _password:String;
	
	public function UserEntity()
	{
		
	}
	
	public function decode(data:Object):void
	{
		_userName = data.userName;
		_level = data.level;
		_password = data.password;
	}
	
	public function get userName():String
	{
		return _userName;
	}
	
	public function get level():uint
	{
		return _level;
	}
}
}
